package com.yfl.logistics.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 客户表
 * </p>
 *
 * @author ${author}
 * @since 2020-06-13
 */
@TableName("t_customer")
public class Customer implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 客户id
     */
    @TableId(value = "customer_id", type = IdType.AUTO)
    private Long customerId;

    /**
     * 客户名称
     */
    private String customerName;

    /**
     * 电话
     */
    private String phone;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 地址
     */
    private String address;

    /**
     * 性别 1男 2女
     */
    private Integer gender;

    /**
     * 备注
     */
    private String remark;

    /**
     * 身份证号码
     */
    private String idCard;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 基础数据id
     */
    private Long baseId;


    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getBaseId() {
        return baseId;
    }

    public void setBaseId(Long baseId) {
        this.baseId = baseId;
    }

    @Override
    public String toString() {
        return "Customer{" +
        "customerId=" + customerId +
        ", customerName=" + customerName +
        ", phone=" + phone +
        ", email=" + email +
        ", address=" + address +
        ", gender=" + gender +
        ", remark=" + remark +
        ", idCard=" + idCard +
        ", userId=" + userId +
        ", baseId=" + baseId +
        "}";
    }
}
